CVE-2026-9366
NousResearch hermes-agent prompt_builder.py _scan_context_content injection
Description
A vulnerability was found in NousResearch hermes-agent 2026.4.23. The impacted element is the function _scan_context_content of the file agent/prompt_builder.py. The manipulation results in injection. The attack may be performed from remote. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
INFO
Published Date :
May 24, 2026, 8:15 a.m.
Last Modified :
May 24, 2026, 8:15 a.m.
Remotely Exploit :
No
Source :
VulDB
Affected Products
The following products are affected by CVE-2026-9366
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Sanitize all external inputs to the function.
- Validate data passed to _scan_context_content.
- Implement input validation and output encoding.
- Review and update the prompt building logic.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-9366 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-9366 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
May. 24, 2026
Action Type Old Value New Value Added Description A vulnerability was found in NousResearch hermes-agent 2026.4.23. The impacted element is the function _scan_context_content of the file agent/prompt_builder.py. The manipulation results in injection. The attack may be performed from remote. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CWE CWE-74 Added CWE CWE-707 Added Reference https://gist.github.com/YLChen-007/581fd92de5548fbaacb2092e848a75cc Added Reference https://vuldb.com/submit/812227 Added Reference https://vuldb.com/vuln/365329 Added Reference https://vuldb.com/vuln/365329/cti